Northwoods.GoSilverlight 1.3.5 Assembly
DoNodeAdded Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoNodeAdded Method

nodedata
This should be called when a node data object is added to the NodesSource collection.

Syntax

Visual Basic (Declaration) 
Public Sub DoNodeAdded( _
   ByVal nodedata As NodeType _
) 
C# 
public void DoNodeAdded( 
   NodeType nodedata
)

Parameters

nodedata

Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the NodesSource collection implements System.Collections.Specialized.INotifyCollectionChanged, the model will automatically call this method. Otherwise, you need to do so immediately after the NodesSource has been augmented.

This raises a Changed event with a value of ModelChange.AddedNode.

Requirements

See Also

© 2012 All Rights Reserved.